using System;
using System.Collections.Generic;

namespace Snake
{
    public static class DataTracker
    {
        public static event Action<string, Dictionary<string, object>> OnTrack;

        public static void Track(string key, Dictionary<string, object> param = null)
        {
            OnTrack?.Invoke(key, param);
        }
    }
}